package com.beiding.my.mql.utils;

public class Pair {
    protected int start;
    protected int end;

    protected int len;

    public int getLen() {
        return end - start + 1;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getEnd() {
        return end;
    }

    public void setEnd(int end) {
        this.end = end;
    }
}
